package org.alex.samples.service;

import java.io.InputStream;
import java.util.List;

import org.alex.samples.model.ExamUserRole;
import org.alex.samples.model.ExamUserVO;
import org.alex.samples.model.User;

public interface IUserService {
	
	//public List<User> findAllUsers();
	public List<ExamUserVO> findAllUsers();
	
	public void createUser(User user) throws Exception;

	public User getUserById(String id);

	public void editUser(User user) throws Exception;

	public void delete(String id) throws Exception;

	public void saveStudentByExcel(InputStream inputStream, String postfix);

	public void updateUserLoginFailCount(User resultVO);
	
	public ExamUserRole getExamUserRoleByUserId(String userId);

}
